// vim:sw=4:ai:aw
#ident	"@(#)Allocator.cc	1.2	AKK/CII	20090222"

#include "asserts.h"	// voor: require
#include "Allocator.h"	// voor: class Allocator

#include <iostream>	// voor: std::cout
using namespace std;


//
Allocator::Allocator( const char * type )
    : type(type)
{
    require(type!=0);
    cout << "Allocator type " <<type<< " gemaakt\n";
}

// geheugen omvang instellen
void	Allocator::setSize( int new_size )
{
    require( new_size > 0 );
    size = new_size;
    cout << "Allocator geheugen op " <<size<< " ingesteld\n";
}
